﻿using System;
using System.ComponentModel;
using TaleWorlds.GauntletUI;
using TaleWorlds.GauntletUI.BaseTypes;
using TaleWorlds.GauntletUI.Data;
using TaleWorlds.Library;
using TaleWorlds.MountAndBlade.GauntletUI.Widgets.Mission.KillFeed.General;
using TaleWorlds.MountAndBlade.GauntletUI.Widgets.Mission.KillFeed.Personal;
using TaleWorlds.MountAndBlade.ViewModelCollection.HUD.KillFeed;
using TaleWorlds.MountAndBlade.ViewModelCollection.HUD.KillFeed.General;
using TaleWorlds.MountAndBlade.ViewModelCollection.HUD.KillFeed.Personal;

namespace TaleWorlds.MountAndBlade.GauntletUI.AutoGenerated0
{
	// Token: 0x0200003B RID: 59
	public class SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM : Widget, IGeneratedGauntletMovieRoot
	{
		// Token: 0x06000BFB RID: 3067 RVA: 0x000546E7 File Offset: 0x000528E7
		public SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM(UIContext context) : base(context)
		{
		}

		// Token: 0x06000BFC RID: 3068 RVA: 0x000546F0 File Offset: 0x000528F0
		public void CreateWidgets()
		{
			this._widget = this;
			this._widget_0 = new SingleplayerGeneralKillFeedWidget(base.Context);
			this._widget.AddChild(this._widget_0);
			this._widget_1 = new SingleplayerPersonalKillFeedWidget(base.Context);
			this._widget.AddChild(this._widget_1);
		}

		// Token: 0x06000BFD RID: 3069 RVA: 0x00054748 File Offset: 0x00052948
		public void SetIds()
		{
		}

		// Token: 0x06000BFE RID: 3070 RVA: 0x0005474C File Offset: 0x0005294C
		public void SetAttributes()
		{
			base.WidthSizePolicy = 1;
			base.HeightSizePolicy = 1;
			this._widget_0.DoNotAcceptEvents = true;
			this._widget_0.DoNotPassEventsToChildren = true;
			this._widget_0.WidthSizePolicy = 2;
			this._widget_0.HeightSizePolicy = 2;
			this._widget_0.HorizontalAlignment = 2;
			this._widget_0.MarginTop = 20f;
			this._widget_0.MarginRight = 20f;
			this._widget_1.DoNotAcceptEvents = true;
			this._widget_1.DoNotPassEventsToChildren = true;
			this._widget_1.WidthSizePolicy = 2;
			this._widget_1.HeightSizePolicy = 2;
			this._widget_1.HorizontalAlignment = 1;
			this._widget_1.VerticalAlignment = 2;
			this._widget_1.MarginBottom = 150f;
		}

		// Token: 0x06000BFF RID: 3071 RVA: 0x0005481C File Offset: 0x00052A1C
		public void RefreshBindingWithChildren()
		{
			SPKillFeedVM datasource_Root = this._datasource_Root;
			this.SetDataSource(null);
			this.SetDataSource(datasource_Root);
		}

		// Token: 0x06000C00 RID: 3072 RVA: 0x00054840 File Offset: 0x00052A40
		public void DestroyDataSource()
		{
			if (this._datasource_Root != null)
			{
				this._datasource_Root.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root;
				this._datasource_Root.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root);
				if (this._datasource_Root_GeneralCasualty != null)
				{
					this._datasource_Root_GeneralCasualty.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_GeneralCasualty;
					this._datasource_Root_GeneralCasualty.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_GeneralCasualty);
					if (this._datasource_Root_GeneralCasualty_NotificationList != null)
					{
						this._datasource_Root_GeneralCasualty_NotificationList.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_GeneralCasualty_NotificationListChanged);
						for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
						{
							Widget child = this._widget_0.GetChild(i);
							((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)child).OnBeforeRemovedChild(child);
							((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)this._widget_0.GetChild(i)).DestroyDataSource();
						}
						this._datasource_Root_GeneralCasualty_NotificationList = null;
					}
					this._datasource_Root_GeneralCasualty = null;
				}
				if (this._datasource_Root_PersonalFeed != null)
				{
					this._datasource_Root_PersonalFeed.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_PersonalFeed;
					this._datasource_Root_PersonalFeed.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_PersonalFeed);
					if (this._datasource_Root_PersonalFeed_NotificationList != null)
					{
						this._datasource_Root_PersonalFeed_NotificationList.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_PersonalFeed_NotificationListChanged);
						for (int j = this._widget_1.ChildCount - 1; j >= 0; j--)
						{
							Widget child2 = this._widget_1.GetChild(j);
							((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)child2).OnBeforeRemovedChild(child2);
							((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)this._widget_1.GetChild(j)).DestroyDataSource();
						}
						this._datasource_Root_PersonalFeed_NotificationList = null;
					}
					this._datasource_Root_PersonalFeed = null;
				}
				this._datasource_Root = null;
			}
		}

		// Token: 0x06000C01 RID: 3073 RVA: 0x00054BCA File Offset: 0x00052DCA
		public void SetDataSource(SPKillFeedVM dataSource)
		{
			this.RefreshDataSource_datasource_Root(dataSource);
		}

		// Token: 0x06000C02 RID: 3074 RVA: 0x00054BD3 File Offset: 0x00052DD3
		private void ViewModelPropertyChangedListenerOf_datasource_Root(object sender, PropertyChangedEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000C03 RID: 3075 RVA: 0x00054BE1 File Offset: 0x00052DE1
		private void ViewModelPropertyChangedWithValueListenerOf_datasource_Root(object sender, PropertyChangedWithValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000C04 RID: 3076 RVA: 0x00054BEF File Offset: 0x00052DEF
		private void ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root(object sender, PropertyChangedWithBoolValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000C05 RID: 3077 RVA: 0x00054BFD File Offset: 0x00052DFD
		private void ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root(object sender, PropertyChangedWithIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000C06 RID: 3078 RVA: 0x00054C0B File Offset: 0x00052E0B
		private void ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root(object sender, PropertyChangedWithFloatValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000C07 RID: 3079 RVA: 0x00054C19 File Offset: 0x00052E19
		private void ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root(object sender, PropertyChangedWithUIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000C08 RID: 3080 RVA: 0x00054C27 File Offset: 0x00052E27
		private void ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root(object sender, PropertyChangedWithColorValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000C09 RID: 3081 RVA: 0x00054C35 File Offset: 0x00052E35
		private void ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root(object sender, PropertyChangedWithDoubleValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000C0A RID: 3082 RVA: 0x00054C43 File Offset: 0x00052E43
		private void ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root(object sender, PropertyChangedWithVec2ValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root(e.PropertyName);
		}

		// Token: 0x06000C0B RID: 3083 RVA: 0x00054C51 File Offset: 0x00052E51
		private void HandleViewModelPropertyChangeOf_datasource_Root(string propertyName)
		{
			if (propertyName == "GeneralCasualty")
			{
				this.RefreshDataSource_datasource_Root_GeneralCasualty(this._datasource_Root.GeneralCasualty);
				return;
			}
			if (propertyName == "PersonalFeed")
			{
				this.RefreshDataSource_datasource_Root_PersonalFeed(this._datasource_Root.PersonalFeed);
				return;
			}
		}

		// Token: 0x06000C0C RID: 3084 RVA: 0x00054C91 File Offset: 0x00052E91
		private void ViewModelPropertyChangedListenerOf_datasource_Root_GeneralCasualty(object sender, PropertyChangedEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_GeneralCasualty(e.PropertyName);
		}

		// Token: 0x06000C0D RID: 3085 RVA: 0x00054C9F File Offset: 0x00052E9F
		private void ViewModelPropertyChangedWithValueListenerOf_datasource_Root_GeneralCasualty(object sender, PropertyChangedWithValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_GeneralCasualty(e.PropertyName);
		}

		// Token: 0x06000C0E RID: 3086 RVA: 0x00054CAD File Offset: 0x00052EAD
		private void ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_GeneralCasualty(object sender, PropertyChangedWithBoolValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_GeneralCasualty(e.PropertyName);
		}

		// Token: 0x06000C0F RID: 3087 RVA: 0x00054CBB File Offset: 0x00052EBB
		private void ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_GeneralCasualty(object sender, PropertyChangedWithIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_GeneralCasualty(e.PropertyName);
		}

		// Token: 0x06000C10 RID: 3088 RVA: 0x00054CC9 File Offset: 0x00052EC9
		private void ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_GeneralCasualty(object sender, PropertyChangedWithFloatValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_GeneralCasualty(e.PropertyName);
		}

		// Token: 0x06000C11 RID: 3089 RVA: 0x00054CD7 File Offset: 0x00052ED7
		private void ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_GeneralCasualty(object sender, PropertyChangedWithUIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_GeneralCasualty(e.PropertyName);
		}

		// Token: 0x06000C12 RID: 3090 RVA: 0x00054CE5 File Offset: 0x00052EE5
		private void ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_GeneralCasualty(object sender, PropertyChangedWithColorValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_GeneralCasualty(e.PropertyName);
		}

		// Token: 0x06000C13 RID: 3091 RVA: 0x00054CF3 File Offset: 0x00052EF3
		private void ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_GeneralCasualty(object sender, PropertyChangedWithDoubleValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_GeneralCasualty(e.PropertyName);
		}

		// Token: 0x06000C14 RID: 3092 RVA: 0x00054D01 File Offset: 0x00052F01
		private void ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_GeneralCasualty(object sender, PropertyChangedWithVec2ValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_GeneralCasualty(e.PropertyName);
		}

		// Token: 0x06000C15 RID: 3093 RVA: 0x00054D0F File Offset: 0x00052F0F
		private void HandleViewModelPropertyChangeOf_datasource_Root_GeneralCasualty(string propertyName)
		{
			if (propertyName == "NotificationList")
			{
				this.RefreshDataSource_datasource_Root_GeneralCasualty_NotificationList(this._datasource_Root_GeneralCasualty.NotificationList);
				return;
			}
		}

		// Token: 0x06000C16 RID: 3094 RVA: 0x00054D30 File Offset: 0x00052F30
		private void ViewModelPropertyChangedListenerOf_datasource_Root_PersonalFeed(object sender, PropertyChangedEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_PersonalFeed(e.PropertyName);
		}

		// Token: 0x06000C17 RID: 3095 RVA: 0x00054D3E File Offset: 0x00052F3E
		private void ViewModelPropertyChangedWithValueListenerOf_datasource_Root_PersonalFeed(object sender, PropertyChangedWithValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_PersonalFeed(e.PropertyName);
		}

		// Token: 0x06000C18 RID: 3096 RVA: 0x00054D4C File Offset: 0x00052F4C
		private void ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_PersonalFeed(object sender, PropertyChangedWithBoolValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_PersonalFeed(e.PropertyName);
		}

		// Token: 0x06000C19 RID: 3097 RVA: 0x00054D5A File Offset: 0x00052F5A
		private void ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_PersonalFeed(object sender, PropertyChangedWithIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_PersonalFeed(e.PropertyName);
		}

		// Token: 0x06000C1A RID: 3098 RVA: 0x00054D68 File Offset: 0x00052F68
		private void ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_PersonalFeed(object sender, PropertyChangedWithFloatValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_PersonalFeed(e.PropertyName);
		}

		// Token: 0x06000C1B RID: 3099 RVA: 0x00054D76 File Offset: 0x00052F76
		private void ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_PersonalFeed(object sender, PropertyChangedWithUIntValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_PersonalFeed(e.PropertyName);
		}

		// Token: 0x06000C1C RID: 3100 RVA: 0x00054D84 File Offset: 0x00052F84
		private void ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_PersonalFeed(object sender, PropertyChangedWithColorValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_PersonalFeed(e.PropertyName);
		}

		// Token: 0x06000C1D RID: 3101 RVA: 0x00054D92 File Offset: 0x00052F92
		private void ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_PersonalFeed(object sender, PropertyChangedWithDoubleValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_PersonalFeed(e.PropertyName);
		}

		// Token: 0x06000C1E RID: 3102 RVA: 0x00054DA0 File Offset: 0x00052FA0
		private void ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_PersonalFeed(object sender, PropertyChangedWithVec2ValueEventArgs e)
		{
			this.HandleViewModelPropertyChangeOf_datasource_Root_PersonalFeed(e.PropertyName);
		}

		// Token: 0x06000C1F RID: 3103 RVA: 0x00054DAE File Offset: 0x00052FAE
		private void HandleViewModelPropertyChangeOf_datasource_Root_PersonalFeed(string propertyName)
		{
			if (propertyName == "NotificationList")
			{
				this.RefreshDataSource_datasource_Root_PersonalFeed_NotificationList(this._datasource_Root_PersonalFeed.NotificationList);
				return;
			}
		}

		// Token: 0x06000C20 RID: 3104 RVA: 0x00054DD0 File Offset: 0x00052FD0
		public void OnList_datasource_Root_GeneralCasualty_NotificationListChanged(object sender, ListChangedEventArgs e)
		{
			switch (e.ListChangedType)
			{
			case 0:
				for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_0.GetChild(i);
					((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_0.GetChild(i);
					((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)child2).SetDataSource(null);
					this._widget_0.RemoveChild(child2);
				}
				return;
			case 1:
				for (int j = 0; j < this._datasource_Root_GeneralCasualty_NotificationList.Count; j++)
				{
					SPGeneralKillNotificationItemVM bindingObject = this._datasource_Root_GeneralCasualty_NotificationList[j];
					this._widget_0.FindChild((Widget widget) => widget.GetComponent<GeneratedWidgetData>().Data == bindingObject).SetSiblingIndex(j, false);
				}
				return;
			case 2:
			{
				SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate = new SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate(base.Context);
				GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate);
				SPGeneralKillNotificationItemVM spgeneralKillNotificationItemVM = this._datasource_Root_GeneralCasualty_NotificationList[e.NewIndex];
				generatedWidgetData.Data = spgeneralKillNotificationItemVM;
				singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.AddComponent(generatedWidgetData);
				this._widget_0.AddChildAtIndex(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate, e.NewIndex);
				singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.CreateWidgets();
				singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetIds();
				singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetAttributes();
				singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetDataSource(spgeneralKillNotificationItemVM);
				return;
			}
			case 3:
			{
				Widget child3 = this._widget_0.GetChild(e.NewIndex);
				((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)child3).OnBeforeRemovedChild(child3);
				return;
			}
			case 4:
			{
				Widget child4 = this._widget_0.GetChild(e.NewIndex);
				((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)child4).SetDataSource(null);
				this._widget_0.RemoveChild(child4);
				break;
			}
			case 5:
				break;
			default:
				return;
			}
		}

		// Token: 0x06000C21 RID: 3105 RVA: 0x00054F6C File Offset: 0x0005316C
		public void OnList_datasource_Root_PersonalFeed_NotificationListChanged(object sender, ListChangedEventArgs e)
		{
			switch (e.ListChangedType)
			{
			case 0:
				for (int i = this._widget_1.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_1.GetChild(i);
					((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_1.GetChild(i);
					((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)child2).SetDataSource(null);
					this._widget_1.RemoveChild(child2);
				}
				return;
			case 1:
				for (int j = 0; j < this._datasource_Root_PersonalFeed_NotificationList.Count; j++)
				{
					SPPersonalKillNotificationItemVM bindingObject = this._datasource_Root_PersonalFeed_NotificationList[j];
					this._widget_1.FindChild((Widget widget) => widget.GetComponent<GeneratedWidgetData>().Data == bindingObject).SetSiblingIndex(j, false);
				}
				return;
			case 2:
			{
				SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate = new SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate(base.Context);
				GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate);
				SPPersonalKillNotificationItemVM sppersonalKillNotificationItemVM = this._datasource_Root_PersonalFeed_NotificationList[e.NewIndex];
				generatedWidgetData.Data = sppersonalKillNotificationItemVM;
				singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.AddComponent(generatedWidgetData);
				this._widget_1.AddChildAtIndex(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate, e.NewIndex);
				singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.CreateWidgets();
				singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetIds();
				singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetAttributes();
				singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetDataSource(sppersonalKillNotificationItemVM);
				return;
			}
			case 3:
			{
				Widget child3 = this._widget_1.GetChild(e.NewIndex);
				((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)child3).OnBeforeRemovedChild(child3);
				return;
			}
			case 4:
			{
				Widget child4 = this._widget_1.GetChild(e.NewIndex);
				((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)child4).SetDataSource(null);
				this._widget_1.RemoveChild(child4);
				break;
			}
			case 5:
				break;
			default:
				return;
			}
		}

		// Token: 0x06000C22 RID: 3106 RVA: 0x00055108 File Offset: 0x00053308
		private void RefreshDataSource_datasource_Root(SPKillFeedVM newDataSource)
		{
			if (this._datasource_Root != null)
			{
				this._datasource_Root.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root;
				this._datasource_Root.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root);
				if (this._datasource_Root_GeneralCasualty != null)
				{
					this._datasource_Root_GeneralCasualty.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_GeneralCasualty;
					this._datasource_Root_GeneralCasualty.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_GeneralCasualty);
					if (this._datasource_Root_GeneralCasualty_NotificationList != null)
					{
						this._datasource_Root_GeneralCasualty_NotificationList.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_GeneralCasualty_NotificationListChanged);
						for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
						{
							Widget child = this._widget_0.GetChild(i);
							((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)child).OnBeforeRemovedChild(child);
							Widget child2 = this._widget_0.GetChild(i);
							((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)child2).SetDataSource(null);
							this._widget_0.RemoveChild(child2);
						}
						this._datasource_Root_GeneralCasualty_NotificationList = null;
					}
					this._datasource_Root_GeneralCasualty = null;
				}
				if (this._datasource_Root_PersonalFeed != null)
				{
					this._datasource_Root_PersonalFeed.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_PersonalFeed;
					this._datasource_Root_PersonalFeed.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_PersonalFeed);
					if (this._datasource_Root_PersonalFeed_NotificationList != null)
					{
						this._datasource_Root_PersonalFeed_NotificationList.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_PersonalFeed_NotificationListChanged);
						for (int j = this._widget_1.ChildCount - 1; j >= 0; j--)
						{
							Widget child3 = this._widget_1.GetChild(j);
							((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)child3).OnBeforeRemovedChild(child3);
							Widget child4 = this._widget_1.GetChild(j);
							((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)child4).SetDataSource(null);
							this._widget_1.RemoveChild(child4);
						}
						this._datasource_Root_PersonalFeed_NotificationList = null;
					}
					this._datasource_Root_PersonalFeed = null;
				}
				this._datasource_Root = null;
			}
			this._datasource_Root = newDataSource;
			if (this._datasource_Root != null)
			{
				this._datasource_Root.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root;
				this._datasource_Root.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root);
				this._datasource_Root.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root);
				this._datasource_Root_GeneralCasualty = this._datasource_Root.GeneralCasualty;
				if (this._datasource_Root_GeneralCasualty != null)
				{
					this._datasource_Root_GeneralCasualty.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_GeneralCasualty;
					this._datasource_Root_GeneralCasualty.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_GeneralCasualty);
					this._datasource_Root_GeneralCasualty_NotificationList = this._datasource_Root_GeneralCasualty.NotificationList;
					if (this._datasource_Root_GeneralCasualty_NotificationList != null)
					{
						this._datasource_Root_GeneralCasualty_NotificationList.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_GeneralCasualty_NotificationListChanged);
						for (int k = 0; k < this._datasource_Root_GeneralCasualty_NotificationList.Count; k++)
						{
							SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate = new SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate(base.Context);
							GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate);
							SPGeneralKillNotificationItemVM spgeneralKillNotificationItemVM = this._datasource_Root_GeneralCasualty_NotificationList[k];
							generatedWidgetData.Data = spgeneralKillNotificationItemVM;
							singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.AddComponent(generatedWidgetData);
							this._widget_0.AddChildAtIndex(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate, k);
							singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.CreateWidgets();
							singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetIds();
							singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetAttributes();
							singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetDataSource(spgeneralKillNotificationItemVM);
						}
					}
				}
				this._datasource_Root_PersonalFeed = this._datasource_Root.PersonalFeed;
				if (this._datasource_Root_PersonalFeed != null)
				{
					this._datasource_Root_PersonalFeed.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_PersonalFeed;
					this._datasource_Root_PersonalFeed.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_PersonalFeed);
					this._datasource_Root_PersonalFeed_NotificationList = this._datasource_Root_PersonalFeed.NotificationList;
					if (this._datasource_Root_PersonalFeed_NotificationList != null)
					{
						this._datasource_Root_PersonalFeed_NotificationList.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_PersonalFeed_NotificationListChanged);
						for (int l = 0; l < this._datasource_Root_PersonalFeed_NotificationList.Count; l++)
						{
							SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate = new SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate(base.Context);
							GeneratedWidgetData generatedWidgetData2 = new GeneratedWidgetData(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate);
							SPPersonalKillNotificationItemVM sppersonalKillNotificationItemVM = this._datasource_Root_PersonalFeed_NotificationList[l];
							generatedWidgetData2.Data = sppersonalKillNotificationItemVM;
							singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.AddComponent(generatedWidgetData2);
							this._widget_1.AddChildAtIndex(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate, l);
							singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.CreateWidgets();
							singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetIds();
							singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetAttributes();
							singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetDataSource(sppersonalKillNotificationItemVM);
						}
					}
				}
			}
		}

		// Token: 0x06000C23 RID: 3107 RVA: 0x000558D0 File Offset: 0x00053AD0
		private void RefreshDataSource_datasource_Root_GeneralCasualty_NotificationList(MBBindingList<SPGeneralKillNotificationItemVM> newDataSource)
		{
			if (this._datasource_Root_GeneralCasualty_NotificationList != null)
			{
				this._datasource_Root_GeneralCasualty_NotificationList.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_GeneralCasualty_NotificationListChanged);
				for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_0.GetChild(i);
					((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_0.GetChild(i);
					((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)child2).SetDataSource(null);
					this._widget_0.RemoveChild(child2);
				}
				this._datasource_Root_GeneralCasualty_NotificationList = null;
			}
			this._datasource_Root_GeneralCasualty_NotificationList = newDataSource;
			this._datasource_Root_GeneralCasualty_NotificationList = this._datasource_Root_GeneralCasualty.NotificationList;
			if (this._datasource_Root_GeneralCasualty_NotificationList != null)
			{
				this._datasource_Root_GeneralCasualty_NotificationList.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_GeneralCasualty_NotificationListChanged);
				for (int j = 0; j < this._datasource_Root_GeneralCasualty_NotificationList.Count; j++)
				{
					SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate = new SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate(base.Context);
					GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate);
					SPGeneralKillNotificationItemVM spgeneralKillNotificationItemVM = this._datasource_Root_GeneralCasualty_NotificationList[j];
					generatedWidgetData.Data = spgeneralKillNotificationItemVM;
					singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.AddComponent(generatedWidgetData);
					this._widget_0.AddChildAtIndex(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate, j);
					singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.CreateWidgets();
					singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetIds();
					singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetAttributes();
					singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetDataSource(spgeneralKillNotificationItemVM);
				}
			}
		}

		// Token: 0x06000C24 RID: 3108 RVA: 0x00055A0C File Offset: 0x00053C0C
		private void RefreshDataSource_datasource_Root_PersonalFeed_NotificationList(MBBindingList<SPPersonalKillNotificationItemVM> newDataSource)
		{
			if (this._datasource_Root_PersonalFeed_NotificationList != null)
			{
				this._datasource_Root_PersonalFeed_NotificationList.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_PersonalFeed_NotificationListChanged);
				for (int i = this._widget_1.ChildCount - 1; i >= 0; i--)
				{
					Widget child = this._widget_1.GetChild(i);
					((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)child).OnBeforeRemovedChild(child);
					Widget child2 = this._widget_1.GetChild(i);
					((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)child2).SetDataSource(null);
					this._widget_1.RemoveChild(child2);
				}
				this._datasource_Root_PersonalFeed_NotificationList = null;
			}
			this._datasource_Root_PersonalFeed_NotificationList = newDataSource;
			this._datasource_Root_PersonalFeed_NotificationList = this._datasource_Root_PersonalFeed.NotificationList;
			if (this._datasource_Root_PersonalFeed_NotificationList != null)
			{
				this._datasource_Root_PersonalFeed_NotificationList.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_PersonalFeed_NotificationListChanged);
				for (int j = 0; j < this._datasource_Root_PersonalFeed_NotificationList.Count; j++)
				{
					SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate = new SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate(base.Context);
					GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate);
					SPPersonalKillNotificationItemVM sppersonalKillNotificationItemVM = this._datasource_Root_PersonalFeed_NotificationList[j];
					generatedWidgetData.Data = sppersonalKillNotificationItemVM;
					singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.AddComponent(generatedWidgetData);
					this._widget_1.AddChildAtIndex(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate, j);
					singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.CreateWidgets();
					singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetIds();
					singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetAttributes();
					singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetDataSource(sppersonalKillNotificationItemVM);
				}
			}
		}

		// Token: 0x06000C25 RID: 3109 RVA: 0x00055B48 File Offset: 0x00053D48
		private void RefreshDataSource_datasource_Root_GeneralCasualty(SPGeneralKillNotificationVM newDataSource)
		{
			if (this._datasource_Root_GeneralCasualty != null)
			{
				this._datasource_Root_GeneralCasualty.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_GeneralCasualty;
				this._datasource_Root_GeneralCasualty.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_GeneralCasualty);
				if (this._datasource_Root_GeneralCasualty_NotificationList != null)
				{
					this._datasource_Root_GeneralCasualty_NotificationList.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_GeneralCasualty_NotificationListChanged);
					for (int i = this._widget_0.ChildCount - 1; i >= 0; i--)
					{
						Widget child = this._widget_0.GetChild(i);
						((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)child).OnBeforeRemovedChild(child);
						Widget child2 = this._widget_0.GetChild(i);
						((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate)child2).SetDataSource(null);
						this._widget_0.RemoveChild(child2);
					}
					this._datasource_Root_GeneralCasualty_NotificationList = null;
				}
				this._datasource_Root_GeneralCasualty = null;
			}
			this._datasource_Root_GeneralCasualty = newDataSource;
			this._datasource_Root_GeneralCasualty = this._datasource_Root.GeneralCasualty;
			if (this._datasource_Root_GeneralCasualty != null)
			{
				this._datasource_Root_GeneralCasualty.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_GeneralCasualty;
				this._datasource_Root_GeneralCasualty.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_GeneralCasualty);
				this._datasource_Root_GeneralCasualty_NotificationList = this._datasource_Root_GeneralCasualty.NotificationList;
				if (this._datasource_Root_GeneralCasualty_NotificationList != null)
				{
					this._datasource_Root_GeneralCasualty_NotificationList.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_GeneralCasualty_NotificationListChanged);
					for (int j = 0; j < this._datasource_Root_GeneralCasualty_NotificationList.Count; j++)
					{
						SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate = new SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate(base.Context);
						GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate);
						SPGeneralKillNotificationItemVM spgeneralKillNotificationItemVM = this._datasource_Root_GeneralCasualty_NotificationList[j];
						generatedWidgetData.Data = spgeneralKillNotificationItemVM;
						singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.AddComponent(generatedWidgetData);
						this._widget_0.AddChildAtIndex(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate, j);
						singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.CreateWidgets();
						singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetIds();
						singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetAttributes();
						singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_1_ItemTemplate.SetDataSource(spgeneralKillNotificationItemVM);
					}
				}
			}
		}

		// Token: 0x06000C26 RID: 3110 RVA: 0x00055E50 File Offset: 0x00054050
		private void RefreshDataSource_datasource_Root_PersonalFeed(SPPersonalKillNotificationVM newDataSource)
		{
			if (this._datasource_Root_PersonalFeed != null)
			{
				this._datasource_Root_PersonalFeed.PropertyChanged -= this.ViewModelPropertyChangedListenerOf_datasource_Root_PersonalFeed;
				this._datasource_Root_PersonalFeed.PropertyChangedWithValue -= new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithBoolValue -= new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithIntValue -= new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithFloatValue -= new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithUIntValue -= new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithColorValue -= new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithDoubleValue -= new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithVec2Value -= new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_PersonalFeed);
				if (this._datasource_Root_PersonalFeed_NotificationList != null)
				{
					this._datasource_Root_PersonalFeed_NotificationList.ListChanged -= new ListChangedEventHandler(this.OnList_datasource_Root_PersonalFeed_NotificationListChanged);
					for (int i = this._widget_1.ChildCount - 1; i >= 0; i--)
					{
						Widget child = this._widget_1.GetChild(i);
						((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)child).OnBeforeRemovedChild(child);
						Widget child2 = this._widget_1.GetChild(i);
						((SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate)child2).SetDataSource(null);
						this._widget_1.RemoveChild(child2);
					}
					this._datasource_Root_PersonalFeed_NotificationList = null;
				}
				this._datasource_Root_PersonalFeed = null;
			}
			this._datasource_Root_PersonalFeed = newDataSource;
			this._datasource_Root_PersonalFeed = this._datasource_Root.PersonalFeed;
			if (this._datasource_Root_PersonalFeed != null)
			{
				this._datasource_Root_PersonalFeed.PropertyChanged += this.ViewModelPropertyChangedListenerOf_datasource_Root_PersonalFeed;
				this._datasource_Root_PersonalFeed.PropertyChangedWithValue += new PropertyChangedWithValueEventHandler(this.ViewModelPropertyChangedWithValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithBoolValue += new PropertyChangedWithBoolValueEventHandler(this.ViewModelPropertyChangedWithBoolValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithIntValue += new PropertyChangedWithIntValueEventHandler(this.ViewModelPropertyChangedWithIntValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithFloatValue += new PropertyChangedWithFloatValueEventHandler(this.ViewModelPropertyChangedWithFloatValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithUIntValue += new PropertyChangedWithUIntValueEventHandler(this.ViewModelPropertyChangedWithUIntValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithColorValue += new PropertyChangedWithColorValueEventHandler(this.ViewModelPropertyChangedWithColorValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithDoubleValue += new PropertyChangedWithDoubleValueEventHandler(this.ViewModelPropertyChangedWithDoubleValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed.PropertyChangedWithVec2Value += new PropertyChangedWithVec2ValueEventHandler(this.ViewModelPropertyChangedWithVec2ValueListenerOf_datasource_Root_PersonalFeed);
				this._datasource_Root_PersonalFeed_NotificationList = this._datasource_Root_PersonalFeed.NotificationList;
				if (this._datasource_Root_PersonalFeed_NotificationList != null)
				{
					this._datasource_Root_PersonalFeed_NotificationList.ListChanged += new ListChangedEventHandler(this.OnList_datasource_Root_PersonalFeed_NotificationListChanged);
					for (int j = 0; j < this._datasource_Root_PersonalFeed_NotificationList.Count; j++)
					{
						SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate = new SingleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate(base.Context);
						GeneratedWidgetData generatedWidgetData = new GeneratedWidgetData(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate);
						SPPersonalKillNotificationItemVM sppersonalKillNotificationItemVM = this._datasource_Root_PersonalFeed_NotificationList[j];
						generatedWidgetData.Data = sppersonalKillNotificationItemVM;
						singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.AddComponent(generatedWidgetData);
						this._widget_1.AddChildAtIndex(singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate, j);
						singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.CreateWidgets();
						singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetIds();
						singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetAttributes();
						singleplayerKillfeed__TaleWorlds_MountAndBlade_ViewModelCollection_HUD_KillFeed_SPKillFeedVM_Dependency_2_ItemTemplate.SetDataSource(sppersonalKillNotificationItemVM);
					}
				}
			}
		}

		// Token: 0x040001E2 RID: 482
		private Widget _widget;

		// Token: 0x040001E3 RID: 483
		private SingleplayerGeneralKillFeedWidget _widget_0;

		// Token: 0x040001E4 RID: 484
		private SingleplayerPersonalKillFeedWidget _widget_1;

		// Token: 0x040001E5 RID: 485
		private SPKillFeedVM _datasource_Root;

		// Token: 0x040001E6 RID: 486
		private SPGeneralKillNotificationVM _datasource_Root_GeneralCasualty;

		// Token: 0x040001E7 RID: 487
		private MBBindingList<SPGeneralKillNotificationItemVM> _datasource_Root_GeneralCasualty_NotificationList;

		// Token: 0x040001E8 RID: 488
		private SPPersonalKillNotificationVM _datasource_Root_PersonalFeed;

		// Token: 0x040001E9 RID: 489
		private MBBindingList<SPPersonalKillNotificationItemVM> _datasource_Root_PersonalFeed_NotificationList;
	}
}
